package com.xiu.mapper;

import java.util.List;

import com.xiu.pojo.ExamTi;

public interface ExamTiMapper {
    int deleteByPrimaryKey(Integer examTiId);

    int insert(ExamTi examTi);

    int insertSelective(ExamTi examTi);

    ExamTi selectByPrimaryKey(Integer examTiId);

    int updateByPrimaryKeySelective(ExamTi examTi);

    int updateByPrimaryKey(ExamTi examTi);
    
    //教师查看题目
    List<ExamTi> findAllTi();
    
    //通过科目Id找到对应题目
    List<ExamTi> findTiById(Integer examSubjectId);
    
    ExamTi findTiById1(int examSubjectId);
}